<template>
  <el-container>
    <el-header>
      <PeskHeader></PeskHeader>
    </el-header>
    <el-container>
      <el-aside width="220px">
        <PeskNavigation></PeskNavigation>
      </el-aside>
      <el-container>
        <el-main>
          <router-view/>
        </el-main>
      </el-container>
    </el-container>
  </el-container>
</template>

<script>
  import PeskHeader from '@/components/PeskHeader'
  import PeskNavigation from '@/components/PeskNavigation'

  export default {
    name: "page",
    components: {
      PeskHeader, PeskNavigation
    }
  }
</script>

<style scoped>
  .el-header {
    padding: 0;
  }

  .el-main {
    height: calc(100vh - 70px);
    background-color: #C0C4CC;
    margin-top: 5px;
  }

  .el-aside {
    height: calc(100vh - 70px);
    background-color: #545c64;
    margin-top: 5px;
  }
</style>
